<?php  
class ControllerMyplancommonFooter extends Controller {
	protected function index() {
		
		$this->data['text_about'] = '关于iPlan';
		$this->data['text_contact'] = '联系我们';

		$this->data['about'] = $this->url->link('myplan/about');
		$this->data['contact'] = $this->url->link('myplan/contact');
		
		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/myplancommon/footer.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/myplancommon/footer.tpl';
		} else {
			$this->template = 'default/template/myplancommon/footer.tpl';
		}
		
		$this->render();
	}
}
?>
